package ooday03home2;

public abstract class People {
    String name;
    int age;
    Double salary;

    People(String name, int age, Double salary) {
        this.name = name;
        this.age = age;
        this.salary = salary;
    }

    void shangdaka() {
        System.out.println(name + "上班打卡");
    }

    void xiadaka() {

        System.out.println(name + "下班打卡");
    }

    abstract void finishwork();
}
